GtkMenuShell: Don't use a non-existing property
authorMatthias Clasen <mclasen@redhat.com>
Tue, 29 Apr 2014 01:53:35 +0000 (21:53 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 29 Apr 2014 01:55:41 +0000 (21:55 -0400)
GtkMenuTrackerItem::visible was removed a few commits ago.
It is not necessary to bind visible anyway, since the menu
tracker will insert and remove items as their visibility
changes.

gtk/gtkmenushell.c

index 3c669a6cf72e69357bfee78574b6de0abfe3288a..ca0f1bb63d5c6db550cd65783d636ea6502f914e 100644 (file)
@@ -2107,7 +2107,6 @@ gtk_menu_shell_tracker_insert_func (GtkMenuTrackerItem *item,
       g_object_bind_property (item, "label", widget, "text", G_BINDING_SYNC_CREATE);
       g_object_bind_property (item, "icon", widget, "icon", G_BINDING_SYNC_CREATE);
       g_object_bind_property (item, "sensitive", widget, "sensitive", G_BINDING_SYNC_CREATE);
-      g_object_bind_property (item, "visible", widget, "visible", G_BINDING_SYNC_CREATE);
       g_object_bind_property (item, "role", widget, "action-role", G_BINDING_SYNC_CREATE);
       g_object_bind_property (item, "toggled", widget, "toggled", G_BINDING_SYNC_CREATE);
       g_object_bind_property (item, "accel", widget, "accel", G_BINDING_SYNC_CREATE);